//
//  CASubmitExpressApi.m
//  LNH
//
//  Created by twentylx on 2018/2/26.
//  Copyright © 2018年 twentylx. All rights reserved.
//

#import "CASubmitExpressApi.h"

@implementation CASubmitExpressApi {
    NSString *_expressName;
    NSString *_expressNo;
    NSString *_returnId;
}

- (instancetype) initWithExpressName:(NSString *) expressName ExpressNo:(NSString *) expressNo ReturnId:(NSString *) returnId {
    self = [super init];
    if (self) {
        _expressName = expressName;
        _expressNo = expressNo;
        _returnId = returnId;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

-(id)requestArgument{
    return @{
             @"token":GVUD.token,
             @"order_return_id":_returnId,
             @"express_number":_expressNo,
             @"express_name":_expressName,
             };
}

-(NSString *)requestUrl{
    NSLog(@"%@", [NSString stringWithFormat:@"%@orderReturnExpress",BASE_SERVICE_DOMAIN]);
    return [NSString stringWithFormat:@"%@orderReturnExpress",BASE_SERVICE_DOMAIN];
}

@end


